Skip to content

Conversation

@derrabus
Copy link
Member

@derrabus derrabus commented Nov 8, 2023

We need to add a return type to the component's voter class. I'd like to take the opportunity and plan a 4.0 release that kicks out some legacy and adds types everywhere.

@derrabus derrabus requested a review from wouterj November 8, 2023 00:40
@derrabus derrabus changed the title Fix tests for Symfony 7 [RFC] Bump the component to 4.0 Nov 8, 2023
}

public function eraseCredentials()
public function eraseCredentials(): void
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

befire this PR, we should have one on 3.x that adds all missing @return don't you think?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

*
* @param string $class The class name
*
* @return bool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@param too can be removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants